<div class="widgets">
        <div class="form col-sm-11">
            <div class="form-group row">
                <div class="col-sm-4">
                    <div class="input-group">
                        <span class="input-group-addon" id="sizing-addon2">开始日期</span>
                        <input type="date" class="form-control" placeholder="search" aria-describedby="sizing-addon2" [(ngModel)]="start_time">
                        <!--<dp-day-picker [(ngModel)]="start_time" [config]="datePickerConfig" [class.dp-material]="true"></dp-day-picker>-->
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="input-group">
                        <span class="input-group-addon" id="sizing-addon2">结束日期</span>
                        <input type="date" class="form-control" placeholder="search" aria-describedby="sizing-addon2" [(ngModel)]="end_time">
                        <!--<dp-day-picker [(ngModel)]="end_time" [config]="datePickerConfig" [class.dp-material]="true"></dp-day-picker>-->
                    </div>
                </div>
            </div>
        </div>

        <div>

            <button class="btn btn-primary" (click)="search()">查询</button>
        </div>

        <table class="table table-bjourneyed table-hover">
            <thead>
                <th>订单ID</th>
                <th>订单时间</th>
                <th>付款方式</th>
                <th>金额</th>
                <th>乘客</th>
                <th>线路</th>
                <th>上车站点</th>
                <th>下车站点</th>
                <th>乘车日期</th>
                <th>乘车时间</th>
                <th>订单状态</th>
            </thead>
            <tbody>
                <tr *ngFor="let journey of journeys" [class.selected]="journey === selectedJourney" (click)="onSelect(journey)">
                    <td>{{journey.order_id}}</td>
                    <td>{{journey.order_time}}</td>
                    <td>{{journey.payment}}</td>
                    <td>{{journey.amount}}</td>
                    <td>{{journey.passenger_name}}</td>
                    <td>{{journey.trip_name}}</td>
                    <td>{{journey.start_stop_name}}</td>
                    <td>{{journey.end_stop_name}}</td>
                    <td>{{journey.boarding_date}}</td>
                    <td>{{journey.boarding_time}}</td>
                    <td>{{journey.order_status}}</td>
                </tr>
            </tbody>
        </table>
</div>